package net.pimpas.logging.serviceprovider;

import net.pimpas.core.serviceprovider.ServiceProviderFactory;
import net.pimpas.framework.PimpasFramework;

public class LoggingServiceProviderFactoryImpl implements ServiceProviderFactory<LoggingServiceProvider> {

	public static LoggingServiceProvider getLoggingServiceProvider(Object... params) {
		return new LoggingServiceProviderFactoryImpl().getServiceProvider(params);
	}

	public LoggingServiceProvider getServiceProvider(Object... params) {
		return (LoggingServiceProvider) PimpasFramework.getCurrentInstance().getServiceProvider(LoggingServiceProvider.class, params);
	}
}